package cn.planewar;

import javax.swing.*;

public class Bullet extends SkyObject{
    public Bullet(int x,int y){
        super(8,20,x,y,3);
    }
    public void step(){
        this.setY(getY()-getSpeed());
    }
    public ImageIcon getImage(){
        return Image.bullent;
    }
}
